package com.java.mall_imooc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.java.mall_imooc.common.utils.PageUtils;
import com.java.mall_imooc.common.utils.R;
import com.java.mall_imooc.entity.Product;

/**
 * 商品表
 *
 * @author jl
 * @since 2020-03-14 23:41:10
 */
public interface ProductService extends IService<Product> {

    PageUtils queryPage(Product product,Integer pageNum, Integer pageSize);

    R<PageInfo> getProductsByCategoryId(Integer categoryId, Integer pageNum, Integer pageSize);
}

